//this is a note
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QDebug>
#include <QString>
#include <Qtimer>
#include "myqgraphicsview.h"
#include "graph.h"
#include "interestNode.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE



class MainWindow : public QMainWindow

{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();


    void databasePreparation();//数据库准备操作
    void changePoiLabel();

private slots:
    void on_bigButton_clicked();

    void on_smallButton_clicked();

    void on_showButton_clicked();

    void on_addPlaceButton_clicked();

private:
    Ui::MainWindow *ui;
    QTimer* changelabel;
    AMGraph<interestNode> map;
};

#endif // MAINWINDOW_H
